package com.scvtc.domain.entity.research;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 科研刊物信息(ResearchPaper)类
 *
 * @author yiFei
 * @since 2022-06-02 16:17:09
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("科研刊物信息")
@TableName("research_paper")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResearchPaper implements Serializable {

    private static final long serialVersionUID = -79084068296189885L;

    @TableId
    private Integer id;

    /**
     * 教师外键
     */
    @ApiModelProperty(value = "教师外键")
    private Integer teacherId;

    /**
     * 刊物研究年度
     */
    @ApiModelProperty(value = "刊物研究年度")
    private String researchPaperYear;

    /**
     * 刊物第一作者
     */
    @ApiModelProperty(value = "刊物第一作者")
    private String researchPaperFirstAuthor;

    /**
     * 刊物题目
     */
    @ApiModelProperty(value = "刊物题目")
    private String researchPaperName;

    /**
     * 刊物所属学科
     */
    @ApiModelProperty(value = "刊物所属学科")
    private String researchPaperSubject;

    /**
     * 刊物名称
     */
    @ApiModelProperty(value = "刊物名称")
    private String researchPaperPublisherName;

    /**
     * 刊物CN号
     */
    @ApiModelProperty(value = "刊物CN号")
    private String researchPaperPublisherCn;

    /**
     * 刊物等级
     */
    @ApiModelProperty(value = "刊物等级")
    private Object researchPaperPublisherLevel;

    /**
     * 刊物期（卷）数
     */
    @ApiModelProperty(value = "刊物期（卷）数")
    private String researchPaperVolumesNum;

    /**
     * 刊物出版时间
     */
    @ApiModelProperty(value = "刊物出版时间")
    private String researchPaperPublishDate;

    /**
     * 刊物成果所属课题编号
     */
    @ApiModelProperty(value = "刊物成果所属课题编号")
    private String researchPaperTopicNum;

    /**
     * 刊物重要转载情况（例如EI/SCI）
     */
    @ApiModelProperty(value = "刊物重要转载情况（例如EI/SCI）")
    private String researchPaperImportantReprint;

    /**
     * 刊物普通转载
     */
    @ApiModelProperty(value = "刊物普通转载")
    private String researchPaperNormalReprint;

    /**
     * 刊物其他作者
     */
    @ApiModelProperty(value = "刊物其他作者")
    private String researchPaperOtherAuthor;

    /**
     * 刊物折合科研分
     */
    @ApiModelProperty(value = "刊物折合科研分")
    private String researchPaperScore;

    /**
     * 刊物备注
     */
    @ApiModelProperty(value = "刊物备注")
    private String researchPaperDescription;

    /**
     * 数据状态（0正常 1停用）
     */
    @ApiModelProperty(value = "数据状态（0正常 1停用）")
    private String status;

    /**
     * 创建人的用户id
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建人 ID")
    private Long createBy;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新人 ID")
    private Long updateBy;
    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 教师姓名
     */
    @ApiModelProperty(value = "教师姓名", hidden = true)
    @TableField(exist = false)
    private String teacherName;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别", hidden = true)
    @TableField(exist = false)
    private String teacherGender;

    /**
     * 部门
     */
    @ApiModelProperty(value = "部门", hidden = true)
    @TableField(exist = false)
    private String teacherDepartment;

    /**
     * 职称
     */
    @ApiModelProperty(value = "职称", hidden = true)
    @TableField(exist = false)
    private String teacherRank;

    /**
     * 学位
     */
    @ApiModelProperty(value = "学位", hidden = true)
    @TableField(exist = false)
    private String teacherDegree;

    /**
     * 教工号
     */
    @ApiModelProperty(value = "教工号", hidden = true)
    @TableField(exist = false)
    private String teacherCollegeId;

}
